cmake_minimum_required(VERSION 3.5.0)

project(oal_pro)

set(CMAKE_CXX_STANDARD 17)

file(GLOB local_src *.cpp)

add_library(oal ${local_src})

target_include_directories(oal PUBLIC  ../)

target_include_directories(oal PUBLIC ../../include)
target_include_directories(oal PUBLIC ../../)

if(WIN32)
target_link_libraries(oal OpenAL32)


endif()

if(UNIX)
target_link_libraries(oal openal)
endif()